﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Yunwei.Domain.Models;

namespace Yunwei.Web.Models
{
    public class ChefViewModel
    {
        private Staff staff;
        public Staff Staff
        {
            get 
            {
                if (staff == null)
                    staff = new Staff();
                return staff;
            }
            set { staff = value; }
        }

        private List<Food> foods;
        public List<Food> Foods
        {
            get 
            {
                if (foods == null)
                    foods = new List<Food>();
                return foods; 
            }
            set { foods = value; }
        }

        private List<Artical> articals;
        public List<Artical> Articals
        {
            get
            {
                if (articals == null)
                    articals = new List<Artical>();
                return articals;
            }
            set { articals = value; }
        }
    }
}